package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.cdb;

import com.gzhryc.common.api.SecurityRequest;
import com.gzhryc.shared_device.oem.h5.agent.WebConstants;

import java.io.Serializable;

public class CDBOrderListRequest extends SecurityRequest<CDBOrderListRequest.Body> {

    public CDBOrderListRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private String year;
        private String trim;
        private String deviceSn;
        private Integer deviceOrderState;  //'全部','租借中','租借失败','已归还','已撤销','弹出宝中'
        private Integer pageNo = 1;
        private Integer pageLimit = WebConstants.PAGE_LIMIT;

        public String getYear() {
            return year;
        }

        public void setYear(String year) {
            this.year = year;
        }

        public String getTrim() {
            return trim;
        }

        public void setTrim(String trim) {
            this.trim = trim;
        }

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public Integer getDeviceOrderState() {
            return deviceOrderState;
        }

        public void setDeviceOrderState(Integer deviceOrderState) {
            this.deviceOrderState = deviceOrderState;
        }

        public Integer getPageNo() {
            return pageNo;
        }

        public void setPageNo(Integer pageNo) {
            this.pageNo = pageNo;
        }

        public Integer getPageLimit() {
            return pageLimit;
        }

        public void setPageLimit(Integer pageLimit) {
            this.pageLimit = pageLimit;
        }
    }
}
